package com.tao.YanMoDesignPattern.singleton.pattern.case1_Origin;

/**
 * @Author Mi_Tao
 * @Date 2023/7/23
 * @Description
 * @Version 1.0
 **/
public class ClientV2_Hungry {

    public static void main(String[] args) {
        // 创建读取应用的配置对象
        AppConfigV2_Hungry config = AppConfigV2_Hungry.getInstance();
        String parameterA = config.getParameterA();
        System.out.println("parameterA = " + parameterA);
        String parameterB = config.getParameterB();
        System.out.println("parameterB = " + parameterB);
    }
}
